<%@ page import="java.util.Enumeration" %>
<%@page contentType="text/html;charset=UTF-8" language="java"%>
<html>
<head>
    <meta charset="UTF-8">
    <title>使用request内置对象</title>
</head>
<body bgcolor="#ccfffcc">
     <h1>您刚才输入的是:</h1>
<%
    //获取到提交的所有属性名
    Enumeration enu = request.getParameterNames();
    //循环查看每个属性信息
    while(enu.hasMoreElements()){
        String paramterName = (String) enu.nextElement();
        String paramterValue = request.getParameter(paramterName);
        out.print("参数名称:"+paramterName);
        out.print("参数内容:"+paramterValue);
    }

%>


</body>
</html>